<?php if (!defined('IN_UkCMS')) exit('No direct script access allowed'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Administrator's Control Panel</title>
<link href="<?php echo base_url().'admincp/'.setting('backend_theme').'/'; ?>res/css/admin.css" rel="stylesheet" type="text/css"/>
<script src="<?php echo base_url().'admincp/'.setting('backend_theme').'/'; ?>res/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo base_url().'admincp/'.setting('backend_theme').'/'; ?>res/js/admin.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	ukcms.tmenu('tmenu');
});

function login_out(){
	$.post("<?php echo backend_url('login/quit'); ?>", function(){
		parent.location.reload();
	});
}
</script>
</head>

<body>
<div class="top">
	<div class="top_left">
		<div class="top_left_t"></div>
		<div class="top_left_b">
			<div class="info"> 现在时间：<?php echo $timeStamp ?></div>
		</div>
	</div>
	<div class="top_middle">
		<div class="top_middle_t"></div>
		<div class="top_middle_b"></div>
	</div>
	<div class="top_right">
		<div class="top_right_t">
			<div class="top_right_t_info">
				<div class="info">admin welcome</div>
				<div class="info"><a href="javascript:void(0);" onclick="login_out();">登出</a></div>
				<div class="info"><a href="">前台首页</a></div>
			</div>
		</div>
		<div class="top_right_b">
			<ul class="menu" id="tmenu">
				<li class="current"><a href="<?php echo backend_url('index/main/welcome'); ?>" target="mainFrame">首页</a></li>
				<li><a href="<?php echo backend_url('index/main/category'); ?>" target="mainFrame">栏目</a></li>
				<li><a href="<?php echo backend_url('index/main'); ?>" target="mainFrame">栏目</a></li>
			</ul>
		</div>
	</div>
</div>
</body>
</html>